package com.yuyou.fn.portal.repository;

import com.yuyou.fn.portal.entity.CourseDisplayConfig;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface CourseDisplayConfigRepository extends MongoRepository<CourseDisplayConfig,Long> {

    List<CourseDisplayConfig> findByAreaTeamId(Long areaTeamId, Sort sort);

}
